import wx

EVT_NOTIFY_ID = wx.NewEventType()
EVT_NOTIFY = wx.PyEventBinder(EVT_NOTIFY_ID, 1)

class NotifyEvent(wx.PyEvent):
    def __init__(self, threshold):
        wx.PyEvent.__init__(self)
        self.SetEventType(EVT_NOTIFY_ID)
        self.threshold = threshold
